//
//  YZBaseTableViewModel.m
//  VET
//
//  Created by YZ on 2018/7/11.
//  Copyright © 2018年 YZ. All rights reserved.
//

#import "YZBaseTableViewModel.h"

@implementation YZBaseTableViewModel

- (NSObject *)modelInSection:(NSInteger)section row:(NSInteger)row
{
    return self.dataSource[section][row];
}

- (NSArray *)modelsInSection:(NSInteger)section
{
    return self.dataSource[section];
}

- (BOOL)isNoMoreData
{
    BOOL noMoreData = self.index > self.totalPage;
    return noMoreData;
}
@end
